package com.demo.service;

import com.demo.entity.Leaveapplication;

import java.io.Serializable;
import java.util.Map;

public interface LeaveService {
    // TODO: 2023/11/11
    void add(Leaveapplication vo);

    void delete(long id);

    void update(Leaveapplication vo);


    Leaveapplication get(Serializable id);


    Map<String, Object> list(Map<String, Object> params);

    boolean refuse(long id);

    boolean agree(long id);
}
